<html>
<head><meta charset="utf-8"><title>Places Chapter Under Memory Model? · t-lang/doc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/index.html">t-lang/doc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/Places.20Chapter.20Under.20Memory.20Model.3F.html">Places Chapter Under Memory Model?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233238739"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/Places%20Chapter%20Under%20Memory%20Model%3F/near/233238739" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> isHavvy <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/Places.20Chapter.20Under.20Memory.20Model.3F.html#233238739">(Apr 05 2021 at 22:14)</a>:</h4>
<p>While thinking about expressions at work last night (instead of working... :P) I had the realization that temporaries and possibly move/copy are more about places themselves than about expressions. Would it make sense to have a chapter called "Places" in the memory model section that describes these alongside what actual kinds of places there are (local variables, statics, temporaries, (etc?))?</p>



<a name="233245186"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/Places%20Chapter%20Under%20Memory%20Model%3F/near/233245186" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> isHavvy <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/Places.20Chapter.20Under.20Memory.20Model.3F.html#233245186">(Apr 05 2021 at 23:30)</a>:</h4>
<p>Like, as a hastily thought out outline:</p>
<div class="codehilite" data-code-language="markdown"><pre><span></span><code><span class="gh"># Places</span>
<span class="gu">## General definition</span>
<span class="gu">## Kinds of Places</span>
<span class="gu">### Statics</span>
<span class="gu">### Local Variables</span>
<span class="gu">### Temporaries</span>
<span class="gu">## Reading</span>
<span class="gu">### Moving/Copying</span>
<span class="gu">## Writing</span>
<span class="gu">### Mutability</span>
<span class="gu">### Drop?</span>
</code></pre></div>



<a name="233247493"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/Places%20Chapter%20Under%20Memory%20Model%3F/near/233247493" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/Places.20Chapter.20Under.20Memory.20Model.3F.html#233247493">(Apr 05 2021 at 23:58)</a>:</h4>
<p>this is good.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>